﻿namespace Connection.MRIM
{
    public static class ClientType
    {
        private static readonly string[] Names = { "jagent", "sagent", "magent", "macagent", "iphoneagent", "android" };

        public enum ClientTypes
        {
            MobileAgentJ2ME = 0,
            MobileAgentSymbian = 1,
            MailRuAgentWindows = 2,
            MailRuAgentMacOS = 3,
            IPhoneAgent = 4,
            AndroidAgent = 5
        }

        public static string GetName(ClientTypes type)
        {
            return Names[(int)type];
        }
    }
}
